SmartPay\Modules\Coupon\Coupon S

Total Complexity 28
Dependencies 6
Dependents 1
Total lines 278
Lines of code 223
Logical lines of code 94
Comment lines 9
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
appliedCouponInForm()
A
44 9 41
appliedCouponInProduct()
A
45 8 39
smartpayCouponPaymentForm()
S
57 2 21
registerRestRoutes()
S
51 1 32
showAppliedCouponData()
S
57 1 29
couponSettings()
S
55 1 21
__construct()
S
57 1 15
validateDate()
S
74 2 4
productPaymentModalContent()
S
63 1 14
adminScripts()
S
91 1 2
showAlert()
S
83 1 5